﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.Drawing;

namespace program
{
    [Serializable]
     class MyImage 
    {
        public string path;
        public int angle;
        public int order;
        public string name;
        public float width;
        public float height;
        public Bitmap mybmp;

        public void  set(string _path,string _name,int _order,float _width,float _height)
        {
            this.path = _path;
            this.name = _name;
            this.order = _order;
            this.angle = 0;
            this.width = _width;
            this.height = _height;
            mybmp = new Bitmap(_path);
        }
        public void get(string _path, string _name, int _order)
        {
            _path = this.path;
            _name = this.name;
            _order = this.order;
        }
    }

}
